Automattic\Jetpack\Sync\Listener A

Total Complexity 62
Dependencies 9
Dependents 6
Total lines 469
Lines of code 219
Logical lines of code 100
Comment lines 184
Methods 20
Properties 5

Methods 20

Method Rating Maintainability Complexity Lines of code
get_actor()
A
46 16 31
enqueue_action()
A
42 11 61
bulk_enqueue_full_sync_actions()
S
50 7 30
get_request_url()
S
67 5 6
can_add_to_queue()
S
58 4 15
sync_data_loss()
S
58 3 16
init()
S
61 2 12
get_instance()
S
71 2 6
set_queue_size_limit()
S
81 1 3
get_queue_size_limit()
S
82 1 3
set_queue_lag_limit()
S
81 1 3
get_queue_lag_limit()
S
82 1 3
force_recheck_queue_limit()
S
75 1 4
__construct()
S
78 1 4
full_sync_action_handler()
S
79 1 3
action_handler()
S
79 1 3
get_full_sync_queue()
S
82 1 3
get_sync_queue()
S
82 1 3
should_send_user_data_with_actor()
S
74 1 4
set_defaults()
S
70 1 6